﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="1007.aspx.cs" Inherits="_1007" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
		SelectMethod="Get_link_AllData" SelectCountMethod="Get_link_AllData_Count" TypeName="CCH.DAO.linkDAO" EnablePaging="True">
		<SelectParameters>
			<asp:Parameter DefaultValue="0" Name="link_type" Type="String" />
		</SelectParameters>
	</asp:ObjectDataSource>

<table class="webpath">
        <tr>
            <td style='vertical-align: middle'>
                <img src="images/photo/home.gif">
            </td>
            <td style='vertical-align: middle'>
                <a href="index.aspx"><% Response.Write("首頁".ConverToCN());%></a>
            </td>
        </tr>
    </table>

    <div class="link">
        <div class="link_list_head">
        </div>
        <div id="maincol_mod_list" class="maincol_mod_list">
            <asp:ListView ID="ListView1" runat="server" DataSourceID="ObjectDataSource1">
                <EmptyDataTemplate>
                    <p><span id="sp_DATA"><% Response.Write("查無資料".ConverToCN());%></span></p>
                </EmptyDataTemplate>
                <ItemTemplate>
                    <p><span id="sp_DATA"><a href='<%# Eval("link_url")%>' target="_blank"><%# Eval("link_name").ConverToCN()%></a></span></p>
                </ItemTemplate>
            </asp:ListView>
        </div>
        <div id="maincol_mod_foot">
        </div>
        <div class="pager">
            <asp:DataPager ID="DataPager1" runat="server" PagedControlID="ListView1" 
                PageSize="20">
                <Fields>
                    <CCH:GooglePagerField />
                </Fields>
            </asp:DataPager>
        </div>
        
    </div>
</asp:Content>

